Add missing config sections to migration guide, fix testing codec#64
Add missing config sections to migration guide, fix testing codec#64
Conversation
The migration guide was missing several configuration changes between 3.x and 4.0: connection ssl/frame_max/socket_timeout fields, SSL protocol default change, influxdb_measurement removal, debug_only logging handler removal, new --max-messages CLI flag, and SIGHUP reload support. AsyncTestCase.process_message was not running the codec decode step before calling consumer.execute, so consumers under test received raw JSON strings instead of decoded dicts. Now matches the process.py message flow by running codec.decode and setting raw_body. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (2)
📝 WalkthroughWalkthroughDocumentation for version 4.0 migration is expanded with explicit SSL configuration guidance, new connection options ( Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~12 minutes Possibly related PRs
Poem
🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Summary
ssl/frame_max/socket_timeoutfields, SSL protocol default change toPROTOCOL_TLS_CLIENT,influxdb_measurementconsumer field removal,debug_onlylogging handler removal,-n/--max-messagesCLI flag, and SIGHUP config reloadAsyncTestCase.process_messagewas not runningcodec.decodebeforeconsumer.execute, so consumers under test received raw JSON strings instead of decoded dicts. Now matchesprocess.pymessage flow includingraw_bodypreservationTest plan
mkdocs serveself.bodyis a dict (not a string) afterprocess_messagewith a JSON body🤖 Generated with Claude Code
Summary by CodeRabbit
Documentation
influxdb_measurement,debug_only), and new optional connection fields.Tests